Re: 8lgm's SCO "at" hole

Christopher A. Stewart (stewart@networx.com)
Sun, 11 Dec 1994 15:14:35 +0800

>>>>> "Casper" == Casper Dik <casper@fwi.uva.nl> writes:

    [Stuff deleted]

    Casper> I've only seen something like this break once, bonus
    Casper> points for who can tell why the following is wrong:

    Casper> 	select(getdtablesize(), &readfds, &writefds,
    Casper> &exceptfds, &timeout);

    Casper> Casper 

Since RLIMIT_NOFILE is not a constant, if a program changes it between
the formation of the fdsets and calling it could cause problems,
mostly would, if RLIMIT_NOFILE was increased..
--
----------------------------------------------------------------------
Christopher A. Stewart       | (Standard disclaimers are in effect)
System/Network Administrator |
Legent Corp. Networx Div.    |
Bellevue, Wa. 98004          |
Voice (206)-688-2154         |
Fax (206)-688-2050           |